package com.sg.service.base.operation;

import com.sg.dto.base.operation.req.ImplementSoftwareAuthorizationLoopStartReq;
import com.sg.dto.base.operation.req.QuerySoftwareAuthorizationDetailReq;
import com.sg.dto.base.operation.req.QuerySoftwareAuthorizationListReq;
import com.sg.entity.OmsSoftwareAuthorization;

import java.util.List;

/**
 * @author ：
 * @version 1.0
 * @date ：
 */
public interface MOmsSoftwareAuthorizationService {
    /**
     * 6-1-01查询软件授权证书列表
     */
    List<OmsSoftwareAuthorization> querySoftwareAuthorizationList(QuerySoftwareAuthorizationListReq reqDto);

    /**
     * 6-1-01查询软件授权证书详情
     */
    OmsSoftwareAuthorization querySoftwareAuthorizationDetail(QuerySoftwareAuthorizationDetailReq reqDto);

    /**
     * 6-1-01新增软件授权证书
     */
    String addSoftwareAuthorization(OmsSoftwareAuthorization omsSoftwareAuthorization);

    /**
     * 6-1-01修改软件授权证书
     */
    boolean updateSoftwareAuthorization(OmsSoftwareAuthorization omsSoftwareAuthorization);

    /**
     * 6-1-01删除软件授权证书
     */
    boolean deleteSoftwareAuthorization(String authorizationId);

    /**
     * M6执行软件证书【循环开始】
     */
    OmsSoftwareAuthorization implementSoftwareAuthorizationLoopStart(ImplementSoftwareAuthorizationLoopStartReq reqDto);

    /**
     * 6-1-01批量改软件授权证书
     */
    boolean batchUpdateSoftwareAuthorization(List<OmsSoftwareAuthorization> omsSoftwareAuthorization);
    //
}
